home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet News 2001 March
/
Internet News 2001-03 - CD-ROM.rar
/
IN200103.ISO
/
Linux
/
ETLinux
/
_7eboot-0.70a.flp
/
init
/
NETLOAD
< prev
next >
Wrap
Text File
|
2000-03-06
|
555b
|
33 lines
#!/bin/sh
#
# netload - load packages from a remote ftp or web server
# written by <mdfranz@txdirect.net> Matthew Franz
# (c) 1999 OpenSEC under the GPL
#
export URL
if [ "$URL" = "" -o "$URL" = "prompt" ]
then
echo -n "Enter URL of Trinux package server: "
read URL
else
echo "Retrieving packages from: $URL"
fi
echo "The following packages will be loaded:"
echo $PKGLIST
echo "This is configured in /conf/pkgconf and /conf/pkglist"
echo "on the boot floppy"
cd /
echo "Downloading packages..."
for i in $PKGLIST
do
getpkg $i
done